package cn.darkhorse.alarm.mapper;

import cn.darkhorse.alarm.dto.AlarmRecordInfoDTO;
import cn.darkhorse.alarm.pojo.AlarmRecordInfo;
import cn.darkhorse.alarm.vo.AlarmRecordInfoVO;
import cn.darkhorse.meswechat.dto.WxSendMessageMoreDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 报警记录表 Mapper 接口
 * </p>
 *
 * @author maoguanjun
 * @since 2023-04-07
 */
public interface AlarmRecordInfoMapper extends BaseMapper<AlarmRecordInfo> {

    List<AlarmRecordInfo> getLastIntervalRecord();

    List<AlarmRecordInfoVO> listAll(AlarmRecordInfoDTO alarmRecordInfoDTO);

    List<AlarmRecordInfoVO> getLastFive();

    List<WxSendMessageMoreDTO> getSendMsg();
}
